<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>add food</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    	<center>
    		<form action="./dingcan/addFood.do" method="post" enctype="multipart/form-data">
    			<table>
    				<tr>
    					<td>食物名字：</td>
    					<td><input type="text" name="foodName"></td>
    				</tr>
    				<tr>
    					<td>食物价格：</td>
    					<td><input type="text" name="foodPrice" ></td>
    				</tr>
    				<tr>
    					<td>配送费：</td>
    					<td><input type="text" name="yunfei" value="" ></td>
    				</tr>
    				<tr>
    					<td colspan=2>食物描述：</td>
    					<td></td>
    				</tr>
    				<tr>
    					<td colspan=2>
    					<textarea name="description" cols="80" rows="10">写下对食物的美好描述。		
						</textarea> 
						 </td>
    				</tr>
    				<tr>
    					<td>食物图片：</td>
    					<td><input type="file" name="pic1" ></td>
    				</tr>
    				<tr>
    					<td><input type="submit" value="提交"></td>
    					<td><input type="reset" value="重置" ></td>
    				</tr>
    			</table>
    		</form>
    	</center>
  </body>
</html>
